package abstractFactory.itf;

import abstractFactory.model.Beverage;
import abstractFactory.model.ChickenWings;
import abstractFactory.model.FrenchFries;
import abstractFactory.model.Hamburg;
import abstractFactory.model.kfc.ChinaBeverage;
import abstractFactory.model.kfc.ChinaChickenWings;
import abstractFactory.model.kfc.ChinaFrenchFries;
import abstractFactory.model.kfc.ChinaHamburg;

/**
 * 具体的工厂
 *
 * @author laigl 2017年7月10日
 *
 */
public class ChinaKfcFactory implements IKfcFactory {

	@Override
	public Hamburg createHamburg(int num) {
		return new ChinaHamburg(num);
	}

	@Override
	public FrenchFries createFrenchFries(int num) {
		return new ChinaFrenchFries(num);
	}

	@Override
	public ChickenWings createChickenWings(int num) {
		return new ChinaChickenWings(num);
	}

	@Override
	public Beverage createBeverage(int num) {
		return new ChinaBeverage(num);
	}

}
